diff --git a/.github/workflows/validatePullRequest.yml b/.github/workflows/validatePullRequest.yml
index 5534ed12663..7f47061786c 100644
--- a/.github/workflows/validatePullRequest.yml
+++ b/.github/workflows/validatePullRequest.yml
@@ -13,7 +13,7 @@ jobs:
env:
solutionName: Microsoft.Graph.sln
steps:
- - uses: actions/checkout@v4.0.0
+ - uses: actions/checkout@v4.1.0
- name: Setup .NET
uses: actions/setup-dotnet@v3.2.0
with:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cf942f38ff3..d675df9c6d8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,13 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v
## [Unreleased]
+## [5.29.0] - 2023-10-05
+
+- Drops invalid function/actions bound to `directoryObject` type. These are the `permissionGrants`,`externalSponsors`, `internalSponsors` and `appliesTo` navigation properties. (https://github.com/microsoftgraph/msgraph-metadata/pull/451)
+- Fixes missing nested paths under `deviceAppManagement/mobileApps` path
+- Fixes initialization of `ChangeNotificationCollection` model (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2138)
+- Latest metadata updates from 5th October 2023.
+
## [5.28.0] - 2023-09-20
- Fixes odata cast paths for `deviceAppManagement/mobileApps` path
diff --git a/src/Microsoft.Graph/Extensions/ChangeNotificationCollection.cs b/src/Microsoft.Graph/Extensions/ChangeNotificationCollection.cs
index 00a3eb00642..eae5534b5bf 100644
--- a/src/Microsoft.Graph/Extensions/ChangeNotificationCollection.cs
+++ b/src/Microsoft.Graph/Extensions/ChangeNotificationCollection.cs
@@ -9,6 +9,15 @@ namespace Microsoft.Graph.Models {
public class ChangeNotificationCollection : IAdditionalDataHolder,IBackedModel, IParsable {
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
+
+ ///
+ /// Instantiates a new ChangeNotificationCollection and sets the default values.
+ ///
+ public ChangeNotificationCollection() {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+
/// 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"); }
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 43604efc9ea..e82559e5bd8 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
@@ -44,7 +44,7 @@ public BrowserSiteListItemRequestBuilder(Dictionary pathParamete
public BrowserSiteListItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Delete a browserSiteList object.
+ /// Delete a browserSiteList object. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -64,7 +64,7 @@ public async Task DeleteAsync(Action
- /// Get a browserSiteList that contains browserSite and browserSharedCookie resources.
+ /// Get a browserSiteList that contains browserSite and browserSharedCookie resources. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, BrowserSiteList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the properties of a browserSiteList object.
+ /// Update the properties of a browserSiteList object. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -106,7 +106,7 @@ public async Task PatchAsync(BrowserSiteList body, Action(requestInfo, BrowserSiteList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Delete a browserSiteList object.
+ /// Delete a browserSiteList object. This API is supported in the following national cloud deployments.
///
/// 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
- /// Get a browserSiteList that contains browserSite and browserSharedCookie resources.
+ /// Get a browserSiteList that contains browserSite and browserSharedCookie resources. This API is supported in the following national cloud deployments.
///
/// 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 browserSiteList object.
+ /// Update the properties of a browserSiteList object. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -207,7 +207,7 @@ public BrowserSiteListItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// Get a browserSiteList that contains browserSite and browserSharedCookie resources.
+ /// Get a browserSiteList that contains browserSite and browserSharedCookie resources. This API is supported in the following national cloud deployments.
///
public class BrowserSiteListItemRequestBuilderGetQueryParameters {
/// Expand related entities
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 e8e0d98db84..eccf8b17891 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
@@ -29,7 +29,7 @@ public PublishRequestBuilder(Dictionary pathParameters, IRequest
public PublishRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/publish", rawUrl) {
}
///
- /// Publish the specified browserSiteList for devices to download.
+ /// Publish the specified browserSiteList for devices to download. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -51,7 +51,7 @@ public async Task PostAsync(PublishPostRequestBody body, Action
return await RequestAdapter.SendAsync(requestInfo, BrowserSiteList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Publish the specified browserSiteList for devices to download.
+ /// Publish the specified browserSiteList for devices to download. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
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 4ae585824d6..cbd881f8945 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
@@ -29,7 +29,7 @@ public BrowserSharedCookieItemRequestBuilder(Dictionary pathPara
public BrowserSharedCookieItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sharedCookies/{browserSharedCookie%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Delete a browserSharedCookie from a browserSiteList.
+ /// Delete a browserSharedCookie from a browserSiteList. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -49,7 +49,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.
+ /// Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, BrowserSharedCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the properties of a browserSharedCookie object.
+ /// Update the properties of a browserSharedCookie object. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -91,7 +91,7 @@ public async Task PatchAsync(BrowserSharedCookie body, Acti
return await RequestAdapter.SendAsync(requestInfo, BrowserSharedCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Delete a browserSharedCookie from a browserSiteList.
+ /// Delete a browserSharedCookie from a browserSiteList. This API is supported in the following national cloud deployments.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -115,7 +115,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode.
+ /// Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. This API is supported in the following national cloud deployments.
///
/// 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 browserSharedCookie object.
+ /// Update the properties of a browserSharedCookie object. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -192,7 +192,7 @@ public BrowserSharedCookieItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode.
+ /// Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. This API is supported in the following national cloud deployments.
///
public class BrowserSharedCookieItemRequestBuilderGetQueryParameters {
/// Expand related entities
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 0db0ad76dcb..89e838bf404 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
@@ -42,7 +42,7 @@ public SharedCookiesRequestBuilder(Dictionary pathParameters, IR
public SharedCookiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sharedCookies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Get a list of the browserSharedCookie objects and their properties.
+ /// Get a list of the browserSharedCookie objects and their properties. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -62,7 +62,7 @@ public async Task GetAsync(Action(requestInfo, BrowserSharedCookieCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create a new browserSharedCookie object in a browserSiteList.
+ /// Create a new browserSharedCookie object in a browserSiteList. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -84,7 +84,7 @@ public async Task PostAsync(BrowserSharedCookie body, Actio
return await RequestAdapter.SendAsync(requestInfo, BrowserSharedCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get a list of the browserSharedCookie objects and their properties.
+ /// Get a list of the browserSharedCookie objects and their properties. This API is supported in the following national cloud deployments.
///
/// 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 browserSharedCookie object in a browserSiteList.
+ /// Create a new browserSharedCookie object in a browserSiteList. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -145,7 +145,7 @@ public SharedCookiesRequestBuilder WithUrl(string rawUrl) {
return new SharedCookiesRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get a list of the browserSharedCookie objects and their properties.
+ /// Get a list of the browserSharedCookie objects and their properties. This API is supported in the following national cloud deployments.
///
public class SharedCookiesRequestBuilderGetQueryParameters {
/// Include count of items
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 e3db940930c..f2cebcb6ae7 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
@@ -29,7 +29,7 @@ public BrowserSiteItemRequestBuilder(Dictionary pathParameters,
public BrowserSiteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sites/{browserSite%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Delete a browserSite from a browserSiteList.
+ /// Delete a browserSite from a browserSiteList. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -49,7 +49,7 @@ public async Task DeleteAsync(Action
- /// Get a browserSite that resides on a browserSiteList.
+ /// Get a browserSite that resides on a browserSiteList. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, BrowserSite.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the properties of a browserSite object.
+ /// Update the properties of a browserSite object. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -91,7 +91,7 @@ public async Task PatchAsync(BrowserSite body, Action(requestInfo, BrowserSite.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Delete a browserSite from a browserSiteList.
+ /// Delete a browserSite from a browserSiteList. This API is supported in the following national cloud deployments.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -115,7 +115,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Get a browserSite that resides on a browserSiteList.
+ /// Get a browserSite that resides on a browserSiteList. This API is supported in the following national cloud deployments.
///
/// 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 browserSite object.
+ /// Update the properties of a browserSite object. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -192,7 +192,7 @@ public BrowserSiteItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// Get a browserSite that resides on a browserSiteList.
+ /// Get a browserSite that resides on a browserSiteList. This API is supported in the following national cloud deployments.
///
public class BrowserSiteItemRequestBuilderGetQueryParameters {
/// Expand related entities
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 ee6d8446a72..a3bb7e106b2 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
@@ -42,7 +42,7 @@ public SitesRequestBuilder(Dictionary pathParameters, IRequestAd
public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sites{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Get a list of the browserSite objects and their properties.
+ /// Get a list of the browserSite objects and their properties. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -62,7 +62,7 @@ public async Task GetAsync(Action(requestInfo, BrowserSiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create a new browserSite object in a browserSiteList.
+ /// Create a new browserSite object in a browserSiteList. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -84,7 +84,7 @@ public async Task PostAsync(BrowserSite body, Action(requestInfo, BrowserSite.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get a list of the browserSite objects and their properties.
+ /// Get a list of the browserSite objects and their properties. This API is supported in the following national cloud deployments.
///
/// 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 browserSite object in a browserSiteList.
+ /// Create a new browserSite object in a browserSiteList. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -145,7 +145,7 @@ public SitesRequestBuilder WithUrl(string rawUrl) {
return new SitesRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get a list of the browserSite objects and their properties.
+ /// Get a list of the browserSite objects and their properties. This API is supported in the following national cloud deployments.
///
public class SitesRequestBuilderGetQueryParameters {
/// Include count of items
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 05f1bdc336a..c8aedaec650 100644
--- a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.cs
@@ -42,7 +42,7 @@ public SiteListsRequestBuilder(Dictionary pathParameters, IReque
public SiteListsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Get a list of the browserSiteList objects and their properties.
+ /// Get a list of the browserSiteList objects and their properties. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -62,7 +62,7 @@ public async Task GetAsync(Action(requestInfo, BrowserSiteListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create a new browserSiteList object to support Internet Explorer mode.
+ /// Create a new browserSiteList object to support Internet Explorer mode. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -84,7 +84,7 @@ public async Task PostAsync(BrowserSiteList body, Action(requestInfo, BrowserSiteList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get a list of the browserSiteList objects and their properties.
+ /// Get a list of the browserSiteList objects and their properties. This API is supported in the following national cloud deployments.
///
/// 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 browserSiteList object to support Internet Explorer mode.
+ /// Create a new browserSiteList object to support Internet Explorer mode. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -145,7 +145,7 @@ public SiteListsRequestBuilder WithUrl(string rawUrl) {
return new SiteListsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get a list of the browserSiteList objects and their properties.
+ /// Get a list of the browserSiteList objects and their properties. This API is supported in the following national cloud deployments.
///
public class SiteListsRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.cs
index 26e4805afe5..2de517021e3 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.cs
@@ -42,7 +42,7 @@ public HealthOverviewsRequestBuilder(Dictionary pathParameters,
public HealthOverviewsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/healthOverviews{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant.
+ /// Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -83,7 +83,7 @@ public async Task PostAsync(ServiceHealth body, Action(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.
+ /// Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. This API is supported in the following national cloud deployments.
///
/// 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 HealthOverviewsRequestBuilder WithUrl(string rawUrl) {
return new HealthOverviewsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant.
+ /// Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. This API is supported in the following national cloud deployments.
///
public class HealthOverviewsRequestBuilderGetQueryParameters {
/// Include count of items
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 9505ac6aceb..8f70c08cd09 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.cs
@@ -53,7 +53,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.
+ /// Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -118,7 +118,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant.
+ /// Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. This API is supported in the following national cloud deployments.
///
/// 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 ServiceHealthItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant.
+ /// Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. This API is supported in the following national cloud deployments.
///
public class ServiceHealthItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.cs
index f5c739ed5cd..fbe38adab62 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.cs
@@ -42,7 +42,7 @@ public IssuesRequestBuilder(Dictionary pathParameters, IRequestA
public IssuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/issues{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant.
+ /// Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -83,7 +83,7 @@ public async Task PostAsync(ServiceHealthIssue body, Action<
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.
+ /// Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. This API is supported in the following national cloud deployments.
///
/// 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 IssuesRequestBuilder WithUrl(string rawUrl) {
return new IssuesRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant.
+ /// Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. This API is supported in the following national cloud deployments.
///
public class IssuesRequestBuilderGetQueryParameters {
/// Include count of items
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 5dde94d10c6..c1356222676 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs
@@ -53,7 +53,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.
+ /// 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. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -118,7 +118,7 @@ public RequestInformation ToDeleteRequestInformation(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.
+ /// 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. This API is supported in the following national cloud deployments.
///
/// 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 ServiceHealthIssueItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// 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.
+ /// 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. This API is supported in the following national cloud deployments.
///
public class ServiceHealthIssueItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs
new file mode 100644
index 00000000000..c719fbc7fc6
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchivePostResponse.cs
@@ -0,0 +1,55 @@
+//
+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.Admin.ServiceAnnouncement.Messages.Archive {
+ public class ArchivePostResponse : 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 value property
+ public bool? Value {
+ get { return BackingStore?.Get("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+ ///
+ /// Instantiates a new archivePostResponse and sets the default values.
+ ///
+ public ArchivePostResponse() {
+ 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 ArchivePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new ArchivePostResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ public IDictionary> GetFieldDeserializers() {
+ return new Dictionary> {
+ {"value", n => { Value = n.GetBoolValue(); } },
+ };
+ }
+ ///
+ /// 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.WriteBoolValue("value", Value);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
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 0e1f4255eb3..8b7295307be 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.cs
@@ -28,13 +28,36 @@ public ArchiveRequestBuilder(Dictionary pathParameters, IRequest
public ArchiveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/messages/archive", rawUrl) {
}
///
- /// Archive a list of serviceUpdateMessages for the signed in user.
+ /// Archive a list of serviceUpdateMessages for the signed in user. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// 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 PostAsArchivePostResponseAsync(ArchivePostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task PostAsArchivePostResponseAsync(ArchivePostRequestBody 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, ArchivePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Archive a list of serviceUpdateMessages for the signed in user. This API is supported in the following national cloud deployments.
+ /// Find more info here
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This method is obsolete. Use PostAsArchivePostResponse instead.")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task PostAsync(ArchivePostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
@@ -50,7 +73,7 @@ public async Task PostAsync(ArchivePostRequestBody body, Action
return await RequestAdapter.SendAsync(requestInfo, ArchiveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Archive a list of serviceUpdateMessages for the signed in user.
+ /// Archive a list of serviceUpdateMessages for the signed in user. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveResponse.cs
index 8de2f79f5db..a37adc9189b 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveResponse.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveResponse.cs
@@ -1,55 +1,19 @@
//
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.Admin.ServiceAnnouncement.Messages.Archive {
- public class ArchiveResponse : 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 value property
- public bool? Value {
- get { return BackingStore?.Get("value"); }
- set { BackingStore?.Set("value", value); }
- }
- ///
- /// Instantiates a new archiveResponse and sets the default values.
- ///
- public ArchiveResponse() {
- BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
- AdditionalData = new Dictionary();
- }
+ [Obsolete("This class is obsolete. Use archivePostResponse instead.")]
+ public class ArchiveResponse : ArchivePostResponse, IParsable {
///
/// 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 ArchiveResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static new ArchiveResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new ArchiveResponse();
}
- ///
- /// The deserialization information for the current model
- ///
- public IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
- {"value", n => { Value = n.GetBoolValue(); } },
- };
- }
- ///
- /// 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.WriteBoolValue("value", Value);
- writer.WriteAdditionalData(AdditionalData);
- }
}
}
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs
new file mode 100644
index 00000000000..a7cedb11153
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoritePostResponse.cs
@@ -0,0 +1,55 @@
+//
+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.Admin.ServiceAnnouncement.Messages.Favorite {
+ public class FavoritePostResponse : 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 value property
+ public bool? Value {
+ get { return BackingStore?.Get("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+ ///
+ /// Instantiates a new favoritePostResponse and sets the default values.
+ ///
+ public FavoritePostResponse() {
+ 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 FavoritePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new FavoritePostResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ public IDictionary> GetFieldDeserializers() {
+ return new Dictionary> {
+ {"value", n => { Value = n.GetBoolValue(); } },
+ };
+ }
+ ///
+ /// 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.WriteBoolValue("value", Value);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
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 3da037fc00f..fbf340b8a9c 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.cs
@@ -28,13 +28,36 @@ public FavoriteRequestBuilder(Dictionary pathParameters, IReques
public FavoriteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/messages/favorite", rawUrl) {
}
///
- /// Change the status of a list of serviceUpdateMessages to favorite for the signed in user.
+ /// Change the status of a list of serviceUpdateMessages to favorite for the signed in user. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// 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 PostAsFavoritePostResponseAsync(FavoritePostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task PostAsFavoritePostResponseAsync(FavoritePostRequestBody 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, FavoritePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Change the status of a list of serviceUpdateMessages to favorite for the signed in user. This API is supported in the following national cloud deployments.
+ /// Find more info here
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This method is obsolete. Use PostAsFavoritePostResponse instead.")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task PostAsync(FavoritePostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
@@ -50,7 +73,7 @@ public async Task PostAsync(FavoritePostRequestBody body, Acti
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.
+ /// Change the status of a list of serviceUpdateMessages to favorite for the signed in user. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteResponse.cs
index ea8ec170ce3..332ebeae778 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteResponse.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteResponse.cs
@@ -1,55 +1,19 @@
//
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.Admin.ServiceAnnouncement.Messages.Favorite {
- public class FavoriteResponse : 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 value property
- public bool? Value {
- get { return BackingStore?.Get("value"); }
- set { BackingStore?.Set("value", value); }
- }
- ///
- /// Instantiates a new favoriteResponse and sets the default values.
- ///
- public FavoriteResponse() {
- BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
- AdditionalData = new Dictionary();
- }
+ [Obsolete("This class is obsolete. Use favoritePostResponse instead.")]
+ public class FavoriteResponse : FavoritePostResponse, IParsable {
///
/// 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 FavoriteResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static new FavoriteResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new FavoriteResponse();
}
- ///
- /// The deserialization information for the current model
- ///
- public IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
- {"value", n => { Value = n.GetBoolValue(); } },
- };
- }
- ///
- /// 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.WriteBoolValue("value", Value);
- writer.WriteAdditionalData(AdditionalData);
- }
}
}
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 c6051b2e64f..c42b7c1015c 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
@@ -42,7 +42,7 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq
public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}/attachments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Get the list of attachments associated with a service message.
+ /// Get the list of attachments associated with a service message. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -83,7 +83,7 @@ public async Task PostAsync(ServiceAnnouncementAt
return await RequestAdapter.SendAsync(requestInfo, ServiceAnnouncementAttachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get the list of attachments associated with a service message.
+ /// Get the list of attachments associated with a service message. This API is supported in the following national cloud deployments.
///
/// 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 AttachmentsRequestBuilder WithUrl(string rawUrl) {
return new AttachmentsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get the list of attachments associated with a service message.
+ /// Get the list of attachments associated with a service message. This API is supported in the following national cloud deployments.
///
public class AttachmentsRequestBuilderGetQueryParameters {
/// Include count of items
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 54c2723e64e..d8481327360 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
@@ -53,7 +53,7 @@ public async Task DeleteAsync(Action
- /// Read the properties and relationships of a serviceAnnouncementAttachment object.
+ /// Read the properties and relationships of a serviceAnnouncementAttachment object. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -118,7 +118,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read the properties and relationships of a serviceAnnouncementAttachment object.
+ /// Read the properties and relationships of a serviceAnnouncementAttachment object. This API is supported in the following national cloud deployments.
///
/// 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 ServiceAnnouncementAttachmentItemRequestBuilderDeleteRequestConfiguration
}
}
///
- /// Read the properties and relationships of a serviceAnnouncementAttachment object.
+ /// Read the properties and relationships of a serviceAnnouncementAttachment object. This API is supported in the following national cloud deployments.
///
public class ServiceAnnouncementAttachmentItemRequestBuilderGetQueryParameters {
/// Expand related entities
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 58fe06ff98f..5b5ccaac3b3 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs
@@ -58,7 +58,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.
+ /// 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. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -123,7 +123,7 @@ public RequestInformation ToDeleteRequestInformation(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.
+ /// 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. This API is supported in the following national cloud deployments.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -200,7 +200,7 @@ public ServiceUpdateMessageItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// 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.
+ /// 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. This API is supported in the following national cloud deployments.
///
public class ServiceUpdateMessageItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs
new file mode 100644
index 00000000000..9691e862af1
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadPostResponse.cs
@@ -0,0 +1,55 @@
+//
+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.Admin.ServiceAnnouncement.Messages.MarkRead {
+ public class MarkReadPostResponse : 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 value property
+ public bool? Value {
+ get { return BackingStore?.Get("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+ ///
+ /// Instantiates a new markReadPostResponse and sets the default values.
+ ///
+ public MarkReadPostResponse() {
+ 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 MarkReadPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new MarkReadPostResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ public IDictionary> GetFieldDeserializers() {
+ return new Dictionary> {
+ {"value", n => { Value = n.GetBoolValue(); } },
+ };
+ }
+ ///
+ /// 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.WriteBoolValue("value", Value);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
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 3c5344eba0d..8fbf948d429 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.cs
@@ -28,13 +28,36 @@ public MarkReadRequestBuilder(Dictionary pathParameters, IReques
public MarkReadRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/messages/markRead", rawUrl) {
}
///
- /// Mark a list of serviceUpdateMessages as read for the signed in user.
+ /// Mark a list of serviceUpdateMessages as read for the signed in user. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// 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 PostAsMarkReadPostResponseAsync(MarkReadPostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task PostAsMarkReadPostResponseAsync(MarkReadPostRequestBody 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, MarkReadPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Mark a list of serviceUpdateMessages as read for the signed in user. This API is supported in the following national cloud deployments.
+ /// Find more info here
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This method is obsolete. Use PostAsMarkReadPostResponse instead.")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task PostAsync(MarkReadPostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
@@ -50,7 +73,7 @@ public async Task PostAsync(MarkReadPostRequestBody body, Acti
return await RequestAdapter.SendAsync(requestInfo, MarkReadResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Mark a list of serviceUpdateMessages as read for the signed in user.
+ /// Mark a list of serviceUpdateMessages as read for the signed in user. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadResponse.cs
index 33c9f70e7c5..e5b41c80adf 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadResponse.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadResponse.cs
@@ -1,55 +1,19 @@
//
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.Admin.ServiceAnnouncement.Messages.MarkRead {
- public class MarkReadResponse : 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 value property
- public bool? Value {
- get { return BackingStore?.Get("value"); }
- set { BackingStore?.Set("value", value); }
- }
- ///
- /// Instantiates a new markReadResponse and sets the default values.
- ///
- public MarkReadResponse() {
- BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
- AdditionalData = new Dictionary();
- }
+ [Obsolete("This class is obsolete. Use markReadPostResponse instead.")]
+ public class MarkReadResponse : MarkReadPostResponse, IParsable {
///
/// 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 MarkReadResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static new MarkReadResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new MarkReadResponse();
}
- ///
- /// The deserialization information for the current model
- ///
- public IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
- {"value", n => { Value = n.GetBoolValue(); } },
- };
- }
- ///
- /// 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.WriteBoolValue("value", Value);
- writer.WriteAdditionalData(AdditionalData);
- }
}
}
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs
new file mode 100644
index 00000000000..c69ab3bce35
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadPostResponse.cs
@@ -0,0 +1,55 @@
+//
+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.Admin.ServiceAnnouncement.Messages.MarkUnread {
+ public class MarkUnreadPostResponse : 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 value property
+ public bool? Value {
+ get { return BackingStore?.Get("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+ ///
+ /// Instantiates a new markUnreadPostResponse and sets the default values.
+ ///
+ public MarkUnreadPostResponse() {
+ 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 MarkUnreadPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new MarkUnreadPostResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ public IDictionary> GetFieldDeserializers() {
+ return new Dictionary> {
+ {"value", n => { Value = n.GetBoolValue(); } },
+ };
+ }
+ ///
+ /// 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.WriteBoolValue("value", Value);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
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 401a8930364..77a9a118038 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.cs
@@ -28,13 +28,36 @@ public MarkUnreadRequestBuilder(Dictionary pathParameters, IRequ
public MarkUnreadRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/messages/markUnread", rawUrl) {
}
///
- /// Mark a list of serviceUpdateMessages as unread for the signed in user.
+ /// Mark a list of serviceUpdateMessages as unread for the signed in user. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// 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 PostAsMarkUnreadPostResponseAsync(MarkUnreadPostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task PostAsMarkUnreadPostResponseAsync(MarkUnreadPostRequestBody 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, MarkUnreadPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Mark a list of serviceUpdateMessages as unread for the signed in user. This API is supported in the following national cloud deployments.
+ /// Find more info here
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This method is obsolete. Use PostAsMarkUnreadPostResponse instead.")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task PostAsync(MarkUnreadPostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
@@ -50,7 +73,7 @@ public async Task PostAsync(MarkUnreadPostRequestBody body,
return await RequestAdapter.SendAsync(requestInfo, MarkUnreadResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Mark a list of serviceUpdateMessages as unread for the signed in user.
+ /// Mark a list of serviceUpdateMessages as unread for the signed in user. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadResponse.cs
index a17b552a435..bb8c653d237 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadResponse.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadResponse.cs
@@ -1,55 +1,19 @@
//
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.Admin.ServiceAnnouncement.Messages.MarkUnread {
- public class MarkUnreadResponse : 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 value property
- public bool? Value {
- get { return BackingStore?.Get("value"); }
- set { BackingStore?.Set("value", value); }
- }
- ///
- /// Instantiates a new markUnreadResponse and sets the default values.
- ///
- public MarkUnreadResponse() {
- BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
- AdditionalData = new Dictionary();
- }
+ [Obsolete("This class is obsolete. Use markUnreadPostResponse instead.")]
+ public class MarkUnreadResponse : MarkUnreadPostResponse, IParsable {
///
/// 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 MarkUnreadResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static new MarkUnreadResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new MarkUnreadResponse();
}
- ///
- /// The deserialization information for the current model
- ///
- public IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
- {"value", n => { Value = n.GetBoolValue(); } },
- };
- }
- ///
- /// 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.WriteBoolValue("value", Value);
- writer.WriteAdditionalData(AdditionalData);
- }
}
}
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.cs
index 586a40ff0ba..5030f42acc7 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.cs
@@ -72,7 +72,7 @@ public MessagesRequestBuilder(Dictionary pathParameters, IReques
public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/messages{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant.
+ /// Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -113,7 +113,7 @@ public async Task PostAsync(ServiceUpdateMessage body, Act
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.
+ /// Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. This API is supported in the following national cloud deployments.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -174,7 +174,7 @@ public MessagesRequestBuilder WithUrl(string rawUrl) {
return new MessagesRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant.
+ /// Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. This API is supported in the following national cloud deployments.
///
public class MessagesRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs
new file mode 100644
index 00000000000..ae0feb3bc69
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchivePostResponse.cs
@@ -0,0 +1,55 @@
+//
+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.Admin.ServiceAnnouncement.Messages.Unarchive {
+ public class UnarchivePostResponse : 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 value property
+ public bool? Value {
+ get { return BackingStore?.Get("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+ ///
+ /// Instantiates a new unarchivePostResponse and sets the default values.
+ ///
+ public UnarchivePostResponse() {
+ 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 UnarchivePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new UnarchivePostResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ public IDictionary> GetFieldDeserializers() {
+ return new Dictionary> {
+ {"value", n => { Value = n.GetBoolValue(); } },
+ };
+ }
+ ///
+ /// 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.WriteBoolValue("value", Value);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
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 a893d49cf25..856f9cf7bf0 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.cs
@@ -28,13 +28,36 @@ public UnarchiveRequestBuilder(Dictionary pathParameters, IReque
public UnarchiveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/messages/unarchive", rawUrl) {
}
///
- /// Unarchive a list of serviceUpdateMessages for the signed in user.
+ /// Unarchive a list of serviceUpdateMessages for the signed in user. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// 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 PostAsUnarchivePostResponseAsync(UnarchivePostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task PostAsUnarchivePostResponseAsync(UnarchivePostRequestBody 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, UnarchivePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Unarchive a list of serviceUpdateMessages for the signed in user. This API is supported in the following national cloud deployments.
+ /// Find more info here
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This method is obsolete. Use PostAsUnarchivePostResponse instead.")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task PostAsync(UnarchivePostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
@@ -50,7 +73,7 @@ public async Task PostAsync(UnarchivePostRequestBody body, Ac
return await RequestAdapter.SendAsync(requestInfo, UnarchiveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Unarchive a list of serviceUpdateMessages for the signed in user.
+ /// Unarchive a list of serviceUpdateMessages for the signed in user. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveResponse.cs
index 0f7d4bf74f1..fde3bd0382c 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveResponse.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveResponse.cs
@@ -1,55 +1,19 @@
//
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.Admin.ServiceAnnouncement.Messages.Unarchive {
- public class UnarchiveResponse : 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 value property
- public bool? Value {
- get { return BackingStore?.Get("value"); }
- set { BackingStore?.Set("value", value); }
- }
- ///
- /// Instantiates a new unarchiveResponse and sets the default values.
- ///
- public UnarchiveResponse() {
- BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
- AdditionalData = new Dictionary();
- }
+ [Obsolete("This class is obsolete. Use unarchivePostResponse instead.")]
+ public class UnarchiveResponse : UnarchivePostResponse, IParsable {
///
/// 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 UnarchiveResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static new UnarchiveResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new UnarchiveResponse();
}
- ///
- /// The deserialization information for the current model
- ///
- public IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
- {"value", n => { Value = n.GetBoolValue(); } },
- };
- }
- ///
- /// 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.WriteBoolValue("value", Value);
- writer.WriteAdditionalData(AdditionalData);
- }
}
}
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs
new file mode 100644
index 00000000000..0be8bd8cf4e
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoritePostResponse.cs
@@ -0,0 +1,55 @@
+//
+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.Admin.ServiceAnnouncement.Messages.Unfavorite {
+ public class UnfavoritePostResponse : 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 value property
+ public bool? Value {
+ get { return BackingStore?.Get("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+ ///
+ /// Instantiates a new unfavoritePostResponse and sets the default values.
+ ///
+ public UnfavoritePostResponse() {
+ 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 UnfavoritePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new UnfavoritePostResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ public IDictionary> GetFieldDeserializers() {
+ return new Dictionary> {
+ {"value", n => { Value = n.GetBoolValue(); } },
+ };
+ }
+ ///
+ /// 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.WriteBoolValue("value", Value);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
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 2b24ec5406f..7cf91e4cd0c 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.cs
@@ -28,13 +28,36 @@ public UnfavoriteRequestBuilder(Dictionary pathParameters, IRequ
public UnfavoriteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/messages/unfavorite", rawUrl) {
}
///
- /// Remove the favorite status of serviceUpdateMessages for the signed in user.
+ /// Remove the favorite status of serviceUpdateMessages for the signed in user. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// 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 PostAsUnfavoritePostResponseAsync(UnfavoritePostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task PostAsUnfavoritePostResponseAsync(UnfavoritePostRequestBody 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, UnfavoritePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Remove the favorite status of serviceUpdateMessages for the signed in user. This API is supported in the following national cloud deployments.
+ /// Find more info here
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("This method is obsolete. Use PostAsUnfavoritePostResponse instead.")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task PostAsync(UnfavoritePostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
@@ -50,7 +73,7 @@ public async Task PostAsync(UnfavoritePostRequestBody body,
return await RequestAdapter.SendAsync(requestInfo, UnfavoriteResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Remove the favorite status of serviceUpdateMessages for the signed in user.
+ /// Remove the favorite status of serviceUpdateMessages for the signed in user. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteResponse.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteResponse.cs
index 2df05130463..57002abd978 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteResponse.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteResponse.cs
@@ -1,55 +1,19 @@
//
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.Admin.ServiceAnnouncement.Messages.Unfavorite {
- public class UnfavoriteResponse : 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 value property
- public bool? Value {
- get { return BackingStore?.Get("value"); }
- set { BackingStore?.Set("value", value); }
- }
- ///
- /// Instantiates a new unfavoriteResponse and sets the default values.
- ///
- public UnfavoriteResponse() {
- BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
- AdditionalData = new Dictionary();
- }
+ [Obsolete("This class is obsolete. Use unfavoritePostResponse instead.")]
+ public class UnfavoriteResponse : UnfavoritePostResponse, IParsable {
///
/// 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 UnfavoriteResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static new UnfavoriteResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new UnfavoriteResponse();
}
- ///
- /// The deserialization information for the current model
- ///
- public IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
- {"value", n => { Value = n.GetBoolValue(); } },
- };
- }
- ///
- /// 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.WriteBoolValue("value", Value);
- writer.WriteAdditionalData(AdditionalData);
- }
}
}
diff --git a/src/Microsoft.Graph/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.cs
index 2fbaa9769be..26f70d2e8bc 100644
--- a/src/Microsoft.Graph/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.cs
@@ -48,7 +48,7 @@ public async Task DeleteAsync(Action
- /// Get the tenant-level settings for SharePoint and OneDrive.
+ /// Get the tenant-level settings for SharePoint and OneDrive. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -68,7 +68,7 @@ public async Task GetAsync(Action(requestInfo, SharepointSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update one or more tenant-level settings for SharePoint and OneDrive.
+ /// Update one or more tenant-level settings for SharePoint and OneDrive. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -114,7 +114,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Get the tenant-level settings for SharePoint and OneDrive.
+ /// Get the tenant-level settings for SharePoint and OneDrive. This API is supported in the following national cloud deployments.
///
/// 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 ToGetRequestInformation(Action
- /// Update one or more tenant-level settings for SharePoint and OneDrive.
+ /// Update one or more tenant-level settings for SharePoint and OneDrive. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -191,7 +191,7 @@ public SettingsRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// Get the tenant-level settings for SharePoint and OneDrive.
+ /// Get the tenant-level settings for SharePoint and OneDrive. This API is supported in the following national cloud deployments.
///
public class SettingsRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs
index 89f16800ddf..22cb011c753 100644
--- a/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs
@@ -42,7 +42,7 @@ public AcceptancesRequestBuilder(Dictionary pathParameters, IReq
public AcceptancesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/agreements/{agreement%2Did}/acceptances{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Get the details about the acceptance records for a specific agreement.
+ /// Get the details about the acceptance records for a specific agreement. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -83,7 +83,7 @@ public async Task PostAsync(AgreementAcceptance body, Actio
return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get the details about the acceptance records for a specific agreement.
+ /// Get the details about the acceptance records for a specific agreement. This API is supported in the following national cloud deployments.
///
/// 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 AcceptancesRequestBuilder WithUrl(string rawUrl) {
return new AcceptancesRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get the details about the acceptance records for a specific agreement.
+ /// Get the details about the acceptance records for a specific agreement. This API is supported in the following national cloud deployments.
///
public class AcceptancesRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/FileRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/FileRequestBuilder.cs
index 21853276da9..392250ed82c 100644
--- a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/FileRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/FileRequestBuilder.cs
@@ -53,7 +53,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.
+ /// 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. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -118,7 +118,7 @@ public RequestInformation ToDeleteRequestInformation(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.
+ /// 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. This API is supported in the following national cloud deployments.
///
/// 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 FileRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// 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.
+ /// 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. This API is supported in the following national cloud deployments.
///
public class FileRequestBuilderGetQueryParameters {
/// Expand related entities
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 a0d3eb994b5..09b70d3d209 100644
--- a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs
@@ -42,7 +42,7 @@ public LocalizationsRequestBuilder(Dictionary pathParameters, IR
public LocalizationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/agreements/{agreement%2Did}/file/localizations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Get a list of the default and localized agreement files.
+ /// Get a list of the default and localized agreement files. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -83,7 +83,7 @@ public async Task PostAsync(AgreementFileLocalization
return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get a list of the default and localized agreement files.
+ /// Get a list of the default and localized agreement files. This API is supported in the following national cloud deployments.
///
/// 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 LocalizationsRequestBuilder WithUrl(string rawUrl) {
return new LocalizationsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get a list of the default and localized agreement files.
+ /// Get a list of the default and localized agreement files. This API is supported in the following national cloud deployments.
///
public class LocalizationsRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/Files/FilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/Files/FilesRequestBuilder.cs
index 447f159a315..7f94a02717e 100644
--- a/src/Microsoft.Graph/Generated/Agreements/Item/Files/FilesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Agreements/Item/Files/FilesRequestBuilder.cs
@@ -61,7 +61,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileLocalizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create a new localized agreement file.
+ /// Create a new localized agreement file. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -109,7 +109,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new localized agreement file.
+ /// Create a new localized agreement file. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
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 5e0e7a8ddaa..bc93d925294 100644
--- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.cs
@@ -61,7 +61,7 @@ public async Task GetAsync(Action(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).
+ /// 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). This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -109,7 +109,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// 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).
+ /// 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). This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
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 b75af94b96f..49b55c01711 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
@@ -48,7 +48,7 @@ public async Task DeleteAsync(Action
- /// Get the bot associated with a specific definition of the TeamsApp.
+ /// Get the bot associated with a specific definition of the TeamsApp. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -113,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Get the bot associated with a specific definition of the TeamsApp.
+ /// Get the bot associated with a specific definition of the TeamsApp. This API is supported in the following national cloud deployments.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -190,7 +190,7 @@ public BotRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// Get the bot associated with a specific definition of the TeamsApp.
+ /// Get the bot associated with a specific definition of the TeamsApp. This API is supported in the following national cloud deployments.
///
public class BotRequestBuilderGetQueryParameters {
/// Expand related entities
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 e574a352f4e..372ac450315 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
@@ -72,7 +72,7 @@ public async Task DeleteAsync(Action(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.
+ /// Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has 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. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -144,7 +144,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// 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.
+ /// Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has 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. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs
index 43fdd3029f7..d0f8b46e280 100644
--- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs
@@ -34,7 +34,7 @@ public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRe
public TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Delete teamsApp
+ /// This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -94,7 +94,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Delete teamsApp
+ /// This API is supported in the following national cloud deployments.
///
/// 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/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs
index 03da6e8a2c6..39000b5c944 100644
--- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs
@@ -42,7 +42,7 @@ public TeamsAppsRequestBuilder(Dictionary pathParameters, IReque
public TeamsAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appCatalogs/teamsApps{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// 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.
+ /// 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. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -62,7 +62,7 @@ public async Task GetAsync(Action(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.
+ /// Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has 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. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -84,7 +84,7 @@ public async Task GetAsync(Action(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.
+ /// 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. This API is supported in the following national cloud deployments.
///
/// 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
- /// 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.
+ /// Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has 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. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -145,7 +145,7 @@ public TeamsAppsRequestBuilder WithUrl(string rawUrl) {
return new TeamsAppsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// 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.
+ /// 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. This API is supported in the following national cloud deployments.
///
public class TeamsAppsRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs
index 4b990b51689..23e9654b869 100644
--- a/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs
@@ -42,7 +42,7 @@ public ApplicationTemplatesRequestBuilder(Dictionary pathParamet
public ApplicationTemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applicationTemplates{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Retrieve a list of applicationTemplate objects from the Azure AD application gallery.
+ /// Retrieve a list of applicationTemplate objects from the Azure AD application gallery. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -62,7 +62,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Retrieve a list of applicationTemplate objects from the Azure AD application gallery.
+ /// Retrieve a list of applicationTemplate objects from the Azure AD application gallery. This API is supported in the following national cloud deployments.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -95,7 +95,7 @@ public ApplicationTemplatesRequestBuilder WithUrl(string rawUrl) {
return new ApplicationTemplatesRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Retrieve a list of applicationTemplate objects from the Azure AD application gallery.
+ /// Retrieve a list of applicationTemplate objects from the Azure AD application gallery. This API is supported in the following national cloud deployments.
///
public class ApplicationTemplatesRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs
index 7e9782fec43..69791f82874 100644
--- a/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs
@@ -34,7 +34,7 @@ public ApplicationTemplateItemRequestBuilder(Dictionary pathPara
public ApplicationTemplateItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applicationTemplates/{applicationTemplate%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Retrieve the properties of an applicationTemplate object.
+ /// Retrieve the properties of an applicationTemplate object. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -54,7 +54,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Retrieve the properties of an applicationTemplate object.
+ /// Retrieve the properties of an applicationTemplate object. This API is supported in the following national cloud deployments.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -87,7 +87,7 @@ public ApplicationTemplateItemRequestBuilder WithUrl(string rawUrl) {
return new ApplicationTemplateItemRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Retrieve the properties of an applicationTemplate object.
+ /// Retrieve the properties of an applicationTemplate object. This API is supported in the following national cloud deployments.
///
public class ApplicationTemplateItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs
index df383e2f421..9c61cec1193 100644
--- a/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs
@@ -29,7 +29,7 @@ public InstantiateRequestBuilder(Dictionary pathParameters, IReq
public InstantiateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applicationTemplates/{applicationTemplate%2Did}/instantiate", rawUrl) {
}
///
- /// 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.
+ /// 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. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -51,7 +51,7 @@ public async Task PostAsync(InstantiatePostRequestB
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.
+ /// 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. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Applications/ApplicationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/ApplicationsRequestBuilder.cs
index f98aa9d455e..6d03c11cd3d 100644
--- a/src/Microsoft.Graph/Generated/Applications/ApplicationsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Applications/ApplicationsRequestBuilder.cs
@@ -62,7 +62,7 @@ public ApplicationsRequestBuilder(Dictionary pathParameters, IRe
public ApplicationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Get the list of applications in this organization.
+ /// Get the list of applications in this organization. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -82,7 +82,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create a new application object.
+ /// Create a new application object. This API is supported in the following national cloud deployments.
/// Find more info here
///
/// The request body
@@ -104,7 +104,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get the list of applications in this organization.
+ /// Get the list of applications in this organization. This API is supported in the following national cloud deployments.
///
/// 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 ToGetRequestInformation(Action
- /// Create a new application object.
+ /// Create a new application object. This API is supported in the following national cloud deployments.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -165,7 +165,7 @@ public ApplicationsRequestBuilder WithUrl(string rawUrl) {
return new ApplicationsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get the list of applications in this organization.
+ /// Get the list of applications in this organization. This API is supported in the following national cloud deployments.
///
public class ApplicationsRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/Applications/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Applications/Delta/DeltaGetResponse.cs
new file mode 100644
index 00000000000..5beaad47dd7
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Applications/Delta/DeltaGetResponse.cs
@@ -0,0 +1,50 @@
+//
+using Microsoft.Graph.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System;
+namespace Microsoft.Graph.Applications.Delta {
+ public class DeltaGetResponse : BaseDeltaFunctionResponse, 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