diff --git a/src/Microsoft.Graph/Generated/model/AdministrativeUnit.cs b/src/Microsoft.Graph/Generated/model/AdministrativeUnit.cs
index 109b90768c5..8b2faa897c6 100644
--- a/src/Microsoft.Graph/Generated/model/AdministrativeUnit.cs
+++ b/src/Microsoft.Graph/Generated/model/AdministrativeUnit.cs
@@ -22,9 +22,9 @@ namespace Microsoft.Graph
public partial class AdministrativeUnit : DirectoryObject
{
- ///
- /// The AdministrativeUnit constructor
- ///
+ ///
+ /// The AdministrativeUnit constructor
+ ///
public AdministrativeUnit()
{
this.ODataType = "microsoft.graph.administrativeUnit";
diff --git a/src/Microsoft.Graph/Generated/model/ScopedRoleMembership.cs b/src/Microsoft.Graph/Generated/model/ScopedRoleMembership.cs
index 514f479ccd7..0c74aadb7d6 100644
--- a/src/Microsoft.Graph/Generated/model/ScopedRoleMembership.cs
+++ b/src/Microsoft.Graph/Generated/model/ScopedRoleMembership.cs
@@ -22,9 +22,9 @@ namespace Microsoft.Graph
public partial class ScopedRoleMembership : Entity
{
- ///
- /// The ScopedRoleMembership constructor
- ///
+ ///
+ /// The ScopedRoleMembership constructor
+ ///
public ScopedRoleMembership()
{
this.ODataType = "microsoft.graph.scopedRoleMembership";
@@ -50,6 +50,7 @@ public ScopedRoleMembership()
///
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "roleMemberInfo", Required = Newtonsoft.Json.Required.Default)]
public Identity RoleMemberInfo { get; set; }
+
}
}
diff --git a/src/Microsoft.Graph/Generated/requests/ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.cs b/src/Microsoft.Graph/Generated/requests/ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.cs
index 7b74d4dcf07..96a1ba72900 100644
--- a/src/Microsoft.Graph/Generated/requests/ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequest.cs
@@ -44,11 +44,12 @@ public System.Threading.Tasks.Task GetAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task GetAsync(
+ public async System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken)
{
this.Method = "GET";
- return this.SendAsync(null, cancellationToken);
+ var response = await this.SendAsync(null, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.cs b/src/Microsoft.Graph/Generated/requests/DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.cs
index 1521c4d447b..ded7c9db5b2 100644
--- a/src/Microsoft.Graph/Generated/requests/DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.cs
@@ -34,7 +34,7 @@ public DeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest(
///
/// Issues the GET request.
///
- public System.Threading.Tasks.Task GetAsync()
+ public System.Threading.Tasks.Task GetAsync()
{
return this.GetAsync(CancellationToken.None);
}
@@ -44,11 +44,12 @@ public System.Threading.Tasks.Task GetAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task GetAsync(
+ public async System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken)
{
this.Method = "GET";
- return this.SendAsync(null, cancellationToken);
+ var response = await this.SendAsync(null, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/GroupLifecyclePolicyAddGroupRequest.cs b/src/Microsoft.Graph/Generated/requests/GroupLifecyclePolicyAddGroupRequest.cs
index bc30891c371..12ff39a37d8 100644
--- a/src/Microsoft.Graph/Generated/requests/GroupLifecyclePolicyAddGroupRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/GroupLifecyclePolicyAddGroupRequest.cs
@@ -41,7 +41,7 @@ public GroupLifecyclePolicyAddGroupRequest(
///
/// Issues the POST request.
///
- public System.Threading.Tasks.Task PostAsync()
+ public System.Threading.Tasks.Task PostAsync()
{
return this.PostAsync(CancellationToken.None);
}
@@ -51,11 +51,12 @@ public System.Threading.Tasks.Task PostAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task PostAsync(
+ public async System.Threading.Tasks.Task PostAsync(
CancellationToken cancellationToken)
{
this.Method = "POST";
- return this.SendAsync(this.RequestBody, cancellationToken);
+ var response = await this.SendAsync(this.RequestBody, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/GroupLifecyclePolicyRemoveGroupRequest.cs b/src/Microsoft.Graph/Generated/requests/GroupLifecyclePolicyRemoveGroupRequest.cs
index 50e3b844d10..f49b52fdb33 100644
--- a/src/Microsoft.Graph/Generated/requests/GroupLifecyclePolicyRemoveGroupRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/GroupLifecyclePolicyRemoveGroupRequest.cs
@@ -41,7 +41,7 @@ public GroupLifecyclePolicyRemoveGroupRequest(
///
/// Issues the POST request.
///
- public System.Threading.Tasks.Task PostAsync()
+ public System.Threading.Tasks.Task PostAsync()
{
return this.PostAsync(CancellationToken.None);
}
@@ -51,11 +51,12 @@ public System.Threading.Tasks.Task PostAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task PostAsync(
+ public async System.Threading.Tasks.Task PostAsync(
CancellationToken cancellationToken)
{
this.Method = "POST";
- return this.SendAsync(this.RequestBody, cancellationToken);
+ var response = await this.SendAsync(this.RequestBody, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.cs b/src/Microsoft.Graph/Generated/requests/IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.cs
index a425c6b2651..88c7da87bf1 100644
--- a/src/Microsoft.Graph/Generated/requests/IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRequest.cs
@@ -25,14 +25,14 @@ public partial interface IDeviceManagementVerifyWindowsEnrollmentAutoDiscoveryRe
///
/// Issues the GET request.
///
- System.Threading.Tasks.Task GetAsync();
+ System.Threading.Tasks.Task GetAsync();
///
/// Issues the GET request.
///
/// The for the request.
/// The task to await for async call.
- System.Threading.Tasks.Task GetAsync(
+ System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken);
diff --git a/src/Microsoft.Graph/Generated/requests/IGroupLifecyclePolicyAddGroupRequest.cs b/src/Microsoft.Graph/Generated/requests/IGroupLifecyclePolicyAddGroupRequest.cs
index d26d9a4bb28..a714ef15531 100644
--- a/src/Microsoft.Graph/Generated/requests/IGroupLifecyclePolicyAddGroupRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/IGroupLifecyclePolicyAddGroupRequest.cs
@@ -30,14 +30,14 @@ public partial interface IGroupLifecyclePolicyAddGroupRequest : IBaseRequest
///
/// Issues the POST request.
///
- System.Threading.Tasks.Task PostAsync();
+ System.Threading.Tasks.Task PostAsync();
///
/// Issues the POST request.
///
/// The for the request.
/// The task to await for async call.
- System.Threading.Tasks.Task PostAsync(
+ System.Threading.Tasks.Task PostAsync(
CancellationToken cancellationToken);
diff --git a/src/Microsoft.Graph/Generated/requests/IGroupLifecyclePolicyRemoveGroupRequest.cs b/src/Microsoft.Graph/Generated/requests/IGroupLifecyclePolicyRemoveGroupRequest.cs
index e2669b360a9..8c4ebd577d6 100644
--- a/src/Microsoft.Graph/Generated/requests/IGroupLifecyclePolicyRemoveGroupRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/IGroupLifecyclePolicyRemoveGroupRequest.cs
@@ -30,14 +30,14 @@ public partial interface IGroupLifecyclePolicyRemoveGroupRequest : IBaseRequest
///
/// Issues the POST request.
///
- System.Threading.Tasks.Task PostAsync();
+ System.Threading.Tasks.Task PostAsync();
///
/// Issues the POST request.
///
/// The for the request.
/// The task to await for async call.
- System.Threading.Tasks.Task PostAsync(
+ System.Threading.Tasks.Task PostAsync(
CancellationToken cancellationToken);
diff --git a/src/Microsoft.Graph/Generated/requests/IOrganizationSetMobileDeviceManagementAuthorityRequest.cs b/src/Microsoft.Graph/Generated/requests/IOrganizationSetMobileDeviceManagementAuthorityRequest.cs
index 824569be3e1..19e1f6edf12 100644
--- a/src/Microsoft.Graph/Generated/requests/IOrganizationSetMobileDeviceManagementAuthorityRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/IOrganizationSetMobileDeviceManagementAuthorityRequest.cs
@@ -25,14 +25,14 @@ public partial interface IOrganizationSetMobileDeviceManagementAuthorityRequest
///
/// Issues the POST request.
///
- System.Threading.Tasks.Task PostAsync();
+ System.Threading.Tasks.Task PostAsync();
///
/// Issues the POST request.
///
/// The for the request.
/// The task to await for async call.
- System.Threading.Tasks.Task PostAsync(
+ System.Threading.Tasks.Task PostAsync(
CancellationToken cancellationToken);
diff --git a/src/Microsoft.Graph/Generated/requests/IUserRevokeSignInSessionsRequest.cs b/src/Microsoft.Graph/Generated/requests/IUserRevokeSignInSessionsRequest.cs
index aff221c2823..114094237dd 100644
--- a/src/Microsoft.Graph/Generated/requests/IUserRevokeSignInSessionsRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/IUserRevokeSignInSessionsRequest.cs
@@ -25,14 +25,14 @@ public partial interface IUserRevokeSignInSessionsRequest : IBaseRequest
///
/// Issues the POST request.
///
- System.Threading.Tasks.Task PostAsync();
+ System.Threading.Tasks.Task PostAsync();
///
/// Issues the POST request.
///
/// The for the request.
/// The task to await for async call.
- System.Threading.Tasks.Task PostAsync(
+ System.Threading.Tasks.Task PostAsync(
CancellationToken cancellationToken);
diff --git a/src/Microsoft.Graph/Generated/requests/IWorkbookChartCountRequest.cs b/src/Microsoft.Graph/Generated/requests/IWorkbookChartCountRequest.cs
index 4d00d785463..81c1efb3289 100644
--- a/src/Microsoft.Graph/Generated/requests/IWorkbookChartCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/IWorkbookChartCountRequest.cs
@@ -25,14 +25,14 @@ public partial interface IWorkbookChartCountRequest : IBaseRequest
///
/// Issues the GET request.
///
- System.Threading.Tasks.Task GetAsync();
+ System.Threading.Tasks.Task GetAsync();
///
/// Issues the GET request.
///
/// The for the request.
/// The task to await for async call.
- System.Threading.Tasks.Task GetAsync(
+ System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken);
diff --git a/src/Microsoft.Graph/Generated/requests/IWorkbookChartPointCountRequest.cs b/src/Microsoft.Graph/Generated/requests/IWorkbookChartPointCountRequest.cs
index c02cd54ee81..3781467fae9 100644
--- a/src/Microsoft.Graph/Generated/requests/IWorkbookChartPointCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/IWorkbookChartPointCountRequest.cs
@@ -25,14 +25,14 @@ public partial interface IWorkbookChartPointCountRequest : IBaseRequest
///
/// Issues the GET request.
///
- System.Threading.Tasks.Task GetAsync();
+ System.Threading.Tasks.Task GetAsync();
///
/// Issues the GET request.
///
/// The for the request.
/// The task to await for async call.
- System.Threading.Tasks.Task GetAsync(
+ System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken);
diff --git a/src/Microsoft.Graph/Generated/requests/IWorkbookChartSeriesCountRequest.cs b/src/Microsoft.Graph/Generated/requests/IWorkbookChartSeriesCountRequest.cs
index bec857b8295..d319a173f29 100644
--- a/src/Microsoft.Graph/Generated/requests/IWorkbookChartSeriesCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/IWorkbookChartSeriesCountRequest.cs
@@ -25,14 +25,14 @@ public partial interface IWorkbookChartSeriesCountRequest : IBaseRequest
///
/// Issues the GET request.
///
- System.Threading.Tasks.Task GetAsync();
+ System.Threading.Tasks.Task GetAsync();
///
/// Issues the GET request.
///
/// The for the request.
/// The task to await for async call.
- System.Threading.Tasks.Task GetAsync(
+ System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken);
diff --git a/src/Microsoft.Graph/Generated/requests/IWorkbookRangeBorderCountRequest.cs b/src/Microsoft.Graph/Generated/requests/IWorkbookRangeBorderCountRequest.cs
index bc0c9e4cf2c..c465520f2a5 100644
--- a/src/Microsoft.Graph/Generated/requests/IWorkbookRangeBorderCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/IWorkbookRangeBorderCountRequest.cs
@@ -25,14 +25,14 @@ public partial interface IWorkbookRangeBorderCountRequest : IBaseRequest
///
/// Issues the GET request.
///
- System.Threading.Tasks.Task GetAsync();
+ System.Threading.Tasks.Task GetAsync();
///
/// Issues the GET request.
///
/// The for the request.
/// The task to await for async call.
- System.Threading.Tasks.Task GetAsync(
+ System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken);
diff --git a/src/Microsoft.Graph/Generated/requests/IWorkbookTableColumnCountRequest.cs b/src/Microsoft.Graph/Generated/requests/IWorkbookTableColumnCountRequest.cs
index 519df035cf9..f0f99da43c7 100644
--- a/src/Microsoft.Graph/Generated/requests/IWorkbookTableColumnCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/IWorkbookTableColumnCountRequest.cs
@@ -25,14 +25,14 @@ public partial interface IWorkbookTableColumnCountRequest : IBaseRequest
///
/// Issues the GET request.
///
- System.Threading.Tasks.Task GetAsync();
+ System.Threading.Tasks.Task GetAsync();
///
/// Issues the GET request.
///
/// The for the request.
/// The task to await for async call.
- System.Threading.Tasks.Task GetAsync(
+ System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken);
diff --git a/src/Microsoft.Graph/Generated/requests/IWorkbookTableCountRequest.cs b/src/Microsoft.Graph/Generated/requests/IWorkbookTableCountRequest.cs
index 3f0d1795d70..b0b0f67a082 100644
--- a/src/Microsoft.Graph/Generated/requests/IWorkbookTableCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/IWorkbookTableCountRequest.cs
@@ -25,14 +25,14 @@ public partial interface IWorkbookTableCountRequest : IBaseRequest
///
/// Issues the GET request.
///
- System.Threading.Tasks.Task GetAsync();
+ System.Threading.Tasks.Task GetAsync();
///
/// Issues the GET request.
///
/// The for the request.
/// The task to await for async call.
- System.Threading.Tasks.Task GetAsync(
+ System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken);
diff --git a/src/Microsoft.Graph/Generated/requests/IWorkbookTableRowCountRequest.cs b/src/Microsoft.Graph/Generated/requests/IWorkbookTableRowCountRequest.cs
index 94baabf95e4..8b9c9102839 100644
--- a/src/Microsoft.Graph/Generated/requests/IWorkbookTableRowCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/IWorkbookTableRowCountRequest.cs
@@ -25,14 +25,14 @@ public partial interface IWorkbookTableRowCountRequest : IBaseRequest
///
/// Issues the GET request.
///
- System.Threading.Tasks.Task GetAsync();
+ System.Threading.Tasks.Task GetAsync();
///
/// Issues the GET request.
///
/// The for the request.
/// The task to await for async call.
- System.Threading.Tasks.Task GetAsync(
+ System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken);
diff --git a/src/Microsoft.Graph/Generated/requests/OrganizationSetMobileDeviceManagementAuthorityRequest.cs b/src/Microsoft.Graph/Generated/requests/OrganizationSetMobileDeviceManagementAuthorityRequest.cs
index d33f5f70c43..4aff5777118 100644
--- a/src/Microsoft.Graph/Generated/requests/OrganizationSetMobileDeviceManagementAuthorityRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/OrganizationSetMobileDeviceManagementAuthorityRequest.cs
@@ -34,7 +34,7 @@ public OrganizationSetMobileDeviceManagementAuthorityRequest(
///
/// Issues the POST request.
///
- public System.Threading.Tasks.Task PostAsync()
+ public System.Threading.Tasks.Task PostAsync()
{
return this.PostAsync(CancellationToken.None);
}
@@ -44,11 +44,12 @@ public System.Threading.Tasks.Task PostAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task PostAsync(
+ public async System.Threading.Tasks.Task PostAsync(
CancellationToken cancellationToken)
{
this.Method = "POST";
- return this.SendAsync(null, cancellationToken);
+ var response = await this.SendAsync(null, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/UserRevokeSignInSessionsRequest.cs b/src/Microsoft.Graph/Generated/requests/UserRevokeSignInSessionsRequest.cs
index 479d420706d..eb8cc18d9fb 100644
--- a/src/Microsoft.Graph/Generated/requests/UserRevokeSignInSessionsRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/UserRevokeSignInSessionsRequest.cs
@@ -34,7 +34,7 @@ public UserRevokeSignInSessionsRequest(
///
/// Issues the POST request.
///
- public System.Threading.Tasks.Task PostAsync()
+ public System.Threading.Tasks.Task PostAsync()
{
return this.PostAsync(CancellationToken.None);
}
@@ -44,11 +44,12 @@ public System.Threading.Tasks.Task PostAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task PostAsync(
+ public async System.Threading.Tasks.Task PostAsync(
CancellationToken cancellationToken)
{
this.Method = "POST";
- return this.SendAsync(null, cancellationToken);
+ var response = await this.SendAsync(null, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/WorkbookChartCountRequest.cs b/src/Microsoft.Graph/Generated/requests/WorkbookChartCountRequest.cs
index 651b753824f..3756d155d79 100644
--- a/src/Microsoft.Graph/Generated/requests/WorkbookChartCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/WorkbookChartCountRequest.cs
@@ -34,7 +34,7 @@ public WorkbookChartCountRequest(
///
/// Issues the GET request.
///
- public System.Threading.Tasks.Task GetAsync()
+ public System.Threading.Tasks.Task GetAsync()
{
return this.GetAsync(CancellationToken.None);
}
@@ -44,11 +44,12 @@ public System.Threading.Tasks.Task GetAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task GetAsync(
+ public async System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken)
{
this.Method = "GET";
- return this.SendAsync(null, cancellationToken);
+ var response = await this.SendAsync(null, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/WorkbookChartImageRequest.cs b/src/Microsoft.Graph/Generated/requests/WorkbookChartImageRequest.cs
index 55799cd723e..770d8d77680 100644
--- a/src/Microsoft.Graph/Generated/requests/WorkbookChartImageRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/WorkbookChartImageRequest.cs
@@ -44,11 +44,12 @@ public System.Threading.Tasks.Task GetAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task GetAsync(
+ public async System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken)
{
this.Method = "GET";
- return this.SendAsync(null, cancellationToken);
+ var response = await this.SendAsync(null, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/WorkbookChartPointCountRequest.cs b/src/Microsoft.Graph/Generated/requests/WorkbookChartPointCountRequest.cs
index 97a1bd3cff9..73fe5d20aa0 100644
--- a/src/Microsoft.Graph/Generated/requests/WorkbookChartPointCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/WorkbookChartPointCountRequest.cs
@@ -34,7 +34,7 @@ public WorkbookChartPointCountRequest(
///
/// Issues the GET request.
///
- public System.Threading.Tasks.Task GetAsync()
+ public System.Threading.Tasks.Task GetAsync()
{
return this.GetAsync(CancellationToken.None);
}
@@ -44,11 +44,12 @@ public System.Threading.Tasks.Task GetAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task GetAsync(
+ public async System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken)
{
this.Method = "GET";
- return this.SendAsync(null, cancellationToken);
+ var response = await this.SendAsync(null, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/WorkbookChartSeriesCountRequest.cs b/src/Microsoft.Graph/Generated/requests/WorkbookChartSeriesCountRequest.cs
index 12121edd4eb..a2d7eb0d7a6 100644
--- a/src/Microsoft.Graph/Generated/requests/WorkbookChartSeriesCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/WorkbookChartSeriesCountRequest.cs
@@ -34,7 +34,7 @@ public WorkbookChartSeriesCountRequest(
///
/// Issues the GET request.
///
- public System.Threading.Tasks.Task GetAsync()
+ public System.Threading.Tasks.Task GetAsync()
{
return this.GetAsync(CancellationToken.None);
}
@@ -44,11 +44,12 @@ public System.Threading.Tasks.Task GetAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task GetAsync(
+ public async System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken)
{
this.Method = "GET";
- return this.SendAsync(null, cancellationToken);
+ var response = await this.SendAsync(null, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/WorkbookRangeBorderCountRequest.cs b/src/Microsoft.Graph/Generated/requests/WorkbookRangeBorderCountRequest.cs
index e3efb280b36..699706398ec 100644
--- a/src/Microsoft.Graph/Generated/requests/WorkbookRangeBorderCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/WorkbookRangeBorderCountRequest.cs
@@ -34,7 +34,7 @@ public WorkbookRangeBorderCountRequest(
///
/// Issues the GET request.
///
- public System.Threading.Tasks.Task GetAsync()
+ public System.Threading.Tasks.Task GetAsync()
{
return this.GetAsync(CancellationToken.None);
}
@@ -44,11 +44,12 @@ public System.Threading.Tasks.Task GetAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task GetAsync(
+ public async System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken)
{
this.Method = "GET";
- return this.SendAsync(null, cancellationToken);
+ var response = await this.SendAsync(null, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/WorkbookTableColumnCountRequest.cs b/src/Microsoft.Graph/Generated/requests/WorkbookTableColumnCountRequest.cs
index afb9daa5663..f1670325aff 100644
--- a/src/Microsoft.Graph/Generated/requests/WorkbookTableColumnCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/WorkbookTableColumnCountRequest.cs
@@ -34,7 +34,7 @@ public WorkbookTableColumnCountRequest(
///
/// Issues the GET request.
///
- public System.Threading.Tasks.Task GetAsync()
+ public System.Threading.Tasks.Task GetAsync()
{
return this.GetAsync(CancellationToken.None);
}
@@ -44,11 +44,12 @@ public System.Threading.Tasks.Task GetAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task GetAsync(
+ public async System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken)
{
this.Method = "GET";
- return this.SendAsync(null, cancellationToken);
+ var response = await this.SendAsync(null, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/WorkbookTableCountRequest.cs b/src/Microsoft.Graph/Generated/requests/WorkbookTableCountRequest.cs
index 8caaac8a9b5..a66aa42b0b9 100644
--- a/src/Microsoft.Graph/Generated/requests/WorkbookTableCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/WorkbookTableCountRequest.cs
@@ -34,7 +34,7 @@ public WorkbookTableCountRequest(
///
/// Issues the GET request.
///
- public System.Threading.Tasks.Task GetAsync()
+ public System.Threading.Tasks.Task GetAsync()
{
return this.GetAsync(CancellationToken.None);
}
@@ -44,11 +44,12 @@ public System.Threading.Tasks.Task GetAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task GetAsync(
+ public async System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken)
{
this.Method = "GET";
- return this.SendAsync(null, cancellationToken);
+ var response = await this.SendAsync(null, cancellationToken);
+ return response.Value;
}
diff --git a/src/Microsoft.Graph/Generated/requests/WorkbookTableRowCountRequest.cs b/src/Microsoft.Graph/Generated/requests/WorkbookTableRowCountRequest.cs
index 0df283962e2..f1751347f03 100644
--- a/src/Microsoft.Graph/Generated/requests/WorkbookTableRowCountRequest.cs
+++ b/src/Microsoft.Graph/Generated/requests/WorkbookTableRowCountRequest.cs
@@ -34,7 +34,7 @@ public WorkbookTableRowCountRequest(
///
/// Issues the GET request.
///
- public System.Threading.Tasks.Task GetAsync()
+ public System.Threading.Tasks.Task GetAsync()
{
return this.GetAsync(CancellationToken.None);
}
@@ -44,11 +44,12 @@ public System.Threading.Tasks.Task GetAsync()
///
/// The for the request.
/// The task to await for async call.
- public System.Threading.Tasks.Task GetAsync(
+ public async System.Threading.Tasks.Task GetAsync(
CancellationToken cancellationToken)
{
this.Method = "GET";
- return this.SendAsync(null, cancellationToken);
+ var response = await this.SendAsync(null, cancellationToken);
+ return response.Value;
}